/**
 * @filename:StkweightService Jan 23, 2025
 * @project Wonder Vue Admin Api  1.1.0
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.service;
import cn.hutool.json.JSONObject;
import com.vtuzx.core.bean.dto.VtuzxMap;
import com.wonder.app.domain.Stkweight;
import com.wonder.app.request.StkweightRequest;
import com.wonder.common.common.AjaxResult;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.Map;
/**   
 * @Description:TODO(称重申请单服务层)
 * @version: 1.1.0
 * @author: Wonder
 * 
 */
public interface StkweightService extends IService<Stkweight> {

    
    /**
     * 验证称重申请单信息
     * 
     * @param stkweight
     * @param type
     * @return 结果
     */
    public String validate(Stkweight stkweight,String type);   
   
	
	 /**
	 * Description:称重申请单分页返回
	 * @param request//检索条件
	 * @param page//分页参数
	 * @return IPage<Stkweight>   //分页记录
	 */
    public IPage<Stkweight> selectList(StkweightRequest request, Page<Stkweight> page);

	Boolean firStkWeight(String bh);

	VtuzxMap stkSecWeight(String bh, String sl) throws Exception;
	/**
	 * 详情purin
	 * @param map
	 * @return
	 */
	Map<String, Object> getStkWeightDetail(Map<String, Object> map);

    boolean audit(JSONObject map)throws Exception;

    boolean unAudit(JSONObject map)throws Exception;
}
